package com.it.yx.mapper;

import com.it.yx.domain.News;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Entity com.it.yx.domain.News
 */
@Mapper
public interface NewsMapper extends BaseMapper<News> {
    @Select("select * from news limit 0,3")
    List<News> selecTthree();
}




